ArcGIS API for WPF - Library Reference
FromGraphics(IEnumerable<Graphic>,Symbol) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > GraphicsLayer Class > FromGraphics Method : FromGraphics(IEnumerable<Graphic>,Symbol) Method

graphics
A collection of graphics.
symbol
The symbol to apply to all features.
Create a graphics layer from a collection of graphics.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function FromGraphics( _
   ByVal graphics As IEnumerable(Of Graphic), _
   ByVal symbol As Symbol _
) As GraphicsLayer
C# 
public static GraphicsLayer FromGraphics( 
   IEnumerable<Graphic> graphics,
   Symbol symbol
)

Parameters

graphics
A collection of graphics.
symbol
The symbol to apply to all features.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.